<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>{$title} - 【66Play】一键记录你的游戏青春</title>
    <link rel="stylesheet" href="__ASSETS__/share/css/share.css"/>
    <link rel="stylesheet" href="__ASSETS__/share/css/range.css"/>
    <script type="text/javascript">
        var tianzhuan_url="{:U('share/sorry')}";
        var domain_url= 'http://'+window.location.host;
        var videoId={$video.id};
        var login= {$Think.const.UID} > 0 ? 1: 0;
        var login_url= "{$login_url}";
        if (window.applicationCache) {
            // alert("你的浏览器支持HTML5");
        } else {
            // alert("你的浏览器不支持HTML5");
            window.location.href=tianzhuan_url;
        }
         // $(".person-center a").click(function(){
    //     $(this).addClass("login-a").text("欢迎你，你好2016564564651456");
    //     $(".person-center").addClass("logined");
    //     $(".register a").addClass("login-a").text("退出");
    // });
    // $(".register a").click(function(){
    //     $(this).removeClass("login-a").text("注册");
    //     $(".person-center").removeClass("logined");
    //     $(".person-center a").removeClass("login-a").text("登录");
    // });
    //百度分享
    //如果需要分享图片，将以下图片加入bdPic即可  "bdPic":imgSrc,
       var img1="{$video.thumb}";
    //    var img2="http://static.66tv.tv/Uploads/Picture/2016-03-06/e89b77a7f2ec4851bfc61d4a9a2c42b5.jpg";
    //    var img3="http://static.66tv.tv/Uploads/Picture/2016-03-03/f811528ccb6649de9246674edbae15a0.jpg";
    //    var img4="http://static.66tv.tv/Uploads/Picture/2016-03-02/00f3edb7b3e9458d9cbe08db7dcbeaad.jpg";
       var imgSrc=img1;
    window._bd_share_config = {
        common : {
            bdText : '',
            bdDesc : '',
            bdUrl : '',
            bdPic : imgSrc
        },
        share : [{
            "bdSize" : 32
        }]
    }
    with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/36e5)];
    </script>
</head>
<body>
    <div class="header">
        <div class="header-content">
            <div class="logo">
                <img src="__ASSETS__/share/images/logo.png">
            </div>
            <!--<div class="nav">-->
                <!--<ul>-->
                    <!--<li>-->
                        <!--<i class="home"></i>-->
                        <!--<div class="span">主页</div>-->
                    <!--</li>-->
                    <!--<li>-->
                        <!--<i class="find"></i>-->
                        <!--<div class="span">探索</div>-->
                    <!--</li>-->
                    <!--<li>-->
                        <!--<i class="match"></i>-->
                        <!--<div class="span">赛事</div>-->
                    <!--</li>-->
                <!--</ul>-->
            <!--</div>-->
            <!-- 登录前的样式 -->
            <empty name="userInfo">
            <div class="register">
                <a href="{:U('share/register')}">注册</a>
            </div>
            <div class="person-center">
                <a href="{:U('user/login')}">登录</a>
            </div>
            <else />
                <div class="register">
                <a href="javascript:;" class="login-a JS_logout">退出</a>
                </div>
                <div class="person-center logined">
                <a class="login-a">{$userInfo.nickname}</a>
                </div>
                <notempty name="userInfo.avatar">
                    <div class="avatar">
                        <img src="{$userInfo.avatar}" alt=""/>
                    </div>
                </notempty>
            </empty>
            <!-- 登录之后的样式 -->
            <!--  -->
        </div>
    </div>
    <div class="video-box">
        <div class="video-info">
            <div class="author-avatar">
                <img src="{$video.user.avatar}" id="avatar"/>
            </div>
            <div class="video-infos">
                <div class="video-title"></div>
                <div class="video-author">
                    <span class="author-nickname"></span>
                    <span class="video-time"></span>
                    <span class="game-kind"></span>
                </div>
            </div>
        </div>
        <div class="video">
            <div class="barrage">
                <div class="mask"></div>
            </div>
            <div class="video-cover">
                <div class="video-cover-btn"></div>
            </div>
            <video id="myVideo">
                <!--<source  src="media/echo-hereweare.mp4" type="video/mp4">-->
                <!--您的浏览器器不支持！-->
            </video>
            <div class="video-controls">
                <div class="btn-pp"></div>
                <div class="progressTime">
                    <span class="current">00:00</span>
                    <span>/</span>
                    <span class="duration"></span>
                </div>
                <div class="fullscreen"></div>
                <div class="volume-num">50</div>
                <!--<div class="volumeBar">-->
                    <!--<div class="volume"><span></span></div>-->
                <!--</div>-->
                <div class="volumeBar">
                    <input type="range">
                </div>
                <div class="muted"></div>
            </div>
        </div>
        <div class="video-share">
            <div class="share-logo">
                <img src="__ASSETS__/share/images/share.png" />
            </div>
            <div class="video-share-span">分享到：</div>
            <div class="bdsharebuttonbox" data-tag="share_1">
                <a class="bds_sqq" data-cmd="sqq"></a>
                <a class="bds_qzone" data-cmd="qzone" href="#"></a>
                <a class="bds_tsina" data-cmd="tsina"></a>
                <a class="bds_weixin" data-cmd="weixin"></a>
            </div>
            <div class="video-zan">
                <span class="zan-do">+1</span>
                <div class="zan-bg <notempty name="video.action.is_zan">hover</notempty>"></div>
                <div class="zan"></div>
            </div>
            <div class="video-hot"></div>
        </div>
    </div>
    <div class="video-bg">
        <div class="video-list">
            <div class="video-list-title">
                <div class="relate">相关视频</div>
                <div class="change">换一换</div>
            </div>
        </div>
    </div>
    <div class="footer">
        <p>©2013 All Rights Reserved.版权所有.成都映霸龙渊网络科技有限公司</p>
        <p>公司地址：成都高新区府城大道399号天府新谷5号楼1204</p>
    </div>
</body>
<script src="__ASSETS__/share/js/jquery-1.8.2.min.js"></script>
<script src="__ASSETS__/share/js/share.js"></script>
<script>
    $('.JS_logout').click(function(){
        $.post('{:U('User/logout')}',{}, function(){
            location.reload();
        });
    });
</script>
</html>